// Mixins
// Micro clear fix
// via: http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix() {
    &:before,
    &:after {
        content: " ";
        display: table;
    }

    &:after {
        clear: both;
    }
}

.clearfix {
    .clearfix();
}
.left-container {
    width: 224px;
    height: 100%;
    font-family: PingFang-SC-Regular;
    //background-color: #22345E
}
.home-container {
    font-family: PingFang-SC-Regular;
    min-width: 1280px;
    background: rgba(78, 84, 108, 1);
    height: 100%;
    // height: 100vh;
    min-height: 900px;
    .flex(row, space-between, top, nowrap);
    .content-contain {
        padding: 0px 18px;
    }

    .right-container {
        height: 100%;
        background: #eef4f9;
        width: calc(100%);
        min-width: 1056px;
        //float: right;

        .header {
            height: 80px;
            background: #ffffff;
        }

        .right-content {
            width: calc(100% - 46px);
            margin-left: 16px;
            height: calc(100% - 134px);
            // background: #ffff;
            margin-top: 20px;
            margin-bottom: 34px;
        }
        .white-color {
            background: #ffff;
            box-shadow: 0px 2px 6px 0px rgba(119, 151, 178, 0.16);
        }
    }
    .left-container {
        background: #22345e;
        height: 100%;
    }
    .footer-contain {
        .el-pagination {
            text-align: right;
            padding-right: 79px;
            padding-top: 20px;
            // float: left;
        }
        .go-page {
            float: right;
            margin-right: 18px;
            width: 51px;
            height: 28px;
            text-align: center;
            line-height: 28px;
            background: rgba(85, 168, 253, 1);
            border-radius: 2px;
            cursor: pointer;
            color: #ffffff;
            position: relative;
            top: -30px;
        }
    }
}

// 下拉选
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
    background-color: #55a8fd !important;
    color: #ffffff !important;
}

.el-select-dropdown__list {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-size: 14px !important;
    font-family: PingFang-SC-Regular !important;
    font-weight: 400;
}

.popper__arrow {
    display: none !important;
}

// Text overflow
// Requires inline-block or block for proper styling
// -----------------------------------------------------------------------------
.text-overflow(@display: block) {
    display: @display;
    word-wrap: normal;
    /* for IE */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.line-clamp(@lines, @line-height: 1.3) {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: @lines; // number of lines to show
    overflow: hidden;
    line-height: @line-height;
    height: @line-height * @lines;
    max-height: @line-height * @lines;
}

// add flex
// .flex-all(@justify-content: flex-star) {
//     display: flex;
//     justify-content: @justify-content;
//     align-items: center;
// }

// .flex-start {
//     .flex-all(flex-start);
// }
// .flex-end {
//     .flex-all(flex-end);
// }
// .flex-space-between {
//     .flex-all(space-between);
// }
// .flex-space-around {
//     .flex-all(space-around);
// }
.flex(@dir, @x, @y, @wrap) {
    display: flex;
    display: -webkit-flex;
    flex-direction: @dir;
    justify-content: @x;
    align-items: @y;
    flex-wrap: @wrap;
    -ms-flex-wrap: @wrap;
}

.subheader() {
    font-size: @font-size-big;
}

@font-size-big: 16px;
@font-size-mid: 14px;
@font-size-mini: 12px;
@color-common: #192a3e;
@color-deep: #555f69;
@color-deep-gray: #748aa1;
@color-light-gray: #90a0b7;
@color-python: #109cf1;
@line: #eceef5; // 分割线
@border: #c2cfe0; // 边框
@color-r: #ffb946;
@color-sql: #2ed47a;

@color-F7685B: #f7685b;
@color-67C23A: #67c23a;
@color-2ED47A: #2ed47a;
@color-FFB946: #ffb946;
@color-109CF1: #109cf1;
@color-885AF8: #885af8;

@shadow: 0px 1px 4px 0px rgba(229, 233, 242, 1);
@shadow-hovered: 0px 2px 18px 0px rgba(203, 208, 221, 1);
@delay: 1s;
@radius: 4px; // 圆角
